﻿{include file="header.tpl"}

<form name="contentAddForm" id="contentAddForm" action="" method="post">

<input type="hidden" name="action" id="action" value="{$formAction}" />
<input type="hidden" name="operation" id="operation" value="add" />

<div class="form-label">Sección</div>
<div class="form-field">
	<select name="section" id="section" class="combobox">
		{if isset($sections) and count($sections) gt 0}
			{foreach $sections as $section}
				<option value="{$section.id}">{if $section.level eq 2}&nbsp;&nbsp;&nbsp;{/if}{$section.name}</option>
			{/foreach}
		{/if}
	</select>
</div>

<div class="form-label clear">Bloque</div>
<div class="form-field"><input type="text" name="block" id="block" class="textfield" /></div>

<div class="form-label clear">Idioma</div>
<div class="form-field"><input type="text" name="language" id="language" class="textfield" /></div>

<div class="form-label clear">Visible</div>
<div class="form-field"><input type="checkbox" name="visible" id="visible" checked="checked"></div>

<div class="form-label clear">HTML</div>
<div class="form-field"><textarea id="html" name="html" class="tinymce" style="height: 300px;"></textarea></div>

<div class="form-label clear">&nbsp;</div>
<div class="form-field"><input type="button" id="saveButton" name="saveButton" value="Guardar" class="submitbutton" /></div>

</form>

{include file="footer.tpl"}
